|
|
|
|
|
Syntax Conventions Used |
The syntax shown in this documentation follows these guidelines. Each property, method and event is shown for Visual Basic .NET (VB.NET), Visual Basic 6 (VB), C# (C#.NET), Visual C++ 6.0/7.0/8.0 (VC++), C (C) and for Delphi (Delphi).
The syntax for properties shows up to three forms (Get, Put and PutRef) if available, the first to retrieve the property value, the second and third to set the property value. For most properties, only a Get and Put syntax is shown. Font and Image1properties also allow a third form (PutRef). If both Put and PutRef is available, PutRef is the preferred form as it conserves resources and assigns a font or Image1object reference to the control. Any change to the font or Image1object is reflected in the control also. Put on the other hand causes the control to completely copy the font or picture object.
Syntax
|
VB.NET |
refImageObj = object.Image1 As SftPictureObject |
||
|
VB |
Set refImageObj = object.Image1 As SftPictureObject |
||
|
C#.NET |
SftPictureObject refImageObj = object.Image1; |
||
|
VC++ |
ISftPictureObject* refImageObj = object->Image1;
|
||
|
C |
HRESULT object->get_Image1(ISftPictureObject** refImageObj); |
||
|
Delphi |
refImageObj := object.Image1 : ISftPictureObject; |
||
|
VB.NET |
object.Image1 = refImageObj As SftPictureObject |
||
|
VB |
object.Image1 = refImageObj As SftPictureObject |
||
|
C#.NET |
SftPictureObject object.Image1 = refImageObj; |
||
|
VC++ |
ISftPictureObject* object->Image1 = refImageObj;
|
||
|
C |
HRESULT object->put_Image1(ISftPictureObject* refImageObj); |
||
|
Delphi |
object.Image1 := refImageObj : ISftPictureObject; |
||
The small
image in the Syntax title line
above can be used to filter the languages for which the syntax is displayed.
Click on the
image in the title and select
the language to be displayed for the Syntax or Example sections. This setting applies to all help pages
and can be changed wherever the
image is displayed.
The following conventions are used throughout the reference section:
|
Description |
Example |
|
Syntax shown in blue shows sample use of the property, method or event (VB.NET, VB, C#.NET, Delphi) or shows its definition (VC++, C) |
refImage1Obj = object.Image1 |
|
Syntax shown in gray shows the type of the property, return type of the method or event (VB.NET, VB, C#.NET, Delphi) |
As stdole.IPictureDisp |
|
Words in bold (any color) indicate language keywords or (property, method, event) names. |
False |
|
Italic words (any color) indicate placeholders for information, to be supplied by you. |
object |
|
Words in regular font (any color) indicate text that is used as-is, such as language specific punctuation. |
-> |
|
Square brackets (any color) indicate optional information when describing Visual Basic (VB). For all other languages, square brackets indicate array indices. |
[, arg] |
All code samples are based on the source code found in the product directory \Program Files\Softelvdm\SftButton OCX 2.5\Samples\.